/// 当前页结果集
class WithdrawRecordPageResponseDto {
  /// 订单号
  final String? orderNum;
  /// 银行
  final String? bankCardType;
  /// 银行账号
  final String? bankCard;
  /// 提现金额
  final int? withdrawAmount;
  /// 申请时间
  final String? createTime;
  /// 审批备注
  final String? remark;
  /// 状态，1-审核通过，0-审批拒绝，2-待审核
  final int? status;

  WithdrawRecordPageResponseDto({
    this.orderNum,
    this.bankCardType,
    this.bankCard,
    this.withdrawAmount,
    this.createTime,
    this.remark,
    this.status,
  });

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = <String, dynamic>{};
    if (orderNum != null) data['orderNum'] = orderNum;
    if (bankCardType != null) data['bankCardType'] = bankCardType;
    if (bankCard != null) data['bankCard'] = bankCard;
    if (withdrawAmount != null) data['withdrawAmount'] = withdrawAmount;
    if (createTime != null) data['createTime'] = createTime;
    if (remark != null) data['remark'] = remark;
    if (status != null) data['status'] = status;
    return data;
  }

  factory WithdrawRecordPageResponseDto.fromJson(Map<String, dynamic> json) {
    return WithdrawRecordPageResponseDto(
      orderNum: json['orderNum'],
      bankCardType: json['bankCardType'],
      bankCard: json['bankCard'],
      withdrawAmount: json['withdrawAmount'],
      createTime: json['createTime'],
      remark: json['remark'],
      status: json['status'],
    );
  }
}